"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = SwitchExample;

var _react = _interopRequireDefault(require("react"));

var _design = require("@discuzq/design");

require("./index.scss");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function SwitchExample() {
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_design.Switch, {
    defaultChecked: true,
    onChange: function onChange(checkVal, context) {
      return console.log(checkVal, context);
    }
  }));
}